/**
 * 
 */
package cn.pfcg.rally.persistent.dao.impl;

import org.springframework.orm.hibernate3.HibernateTemplate;

import cn.pfcg.rally.domain.bean.RightAnswer;


/**
 * @author cxq
 *
 */
public class RightAnswerDAOImpl implements cn.pfcg.rally.persistent.dao.RightAnswerDAO {

	HibernateTemplate hibernateTemplate;
	
	/* (non-Javadoc)
	 * @see cn.pfcg.rally.persistent.dao.RightAnswerDAO#saveAnswer(cn.pfcg.rally.persistent.po.Answer)
	 */
	public void saveRightAnswer(RightAnswer rightAnswer) {
			hibernateTemplate.save(rightAnswer);
	}
	/**
	 * @param hibernateTemplate the hibernateTemplate to set
	 */
	public void setHibernateTemplate(HibernateTemplate hibernateTemplate) {
		this.hibernateTemplate = hibernateTemplate;
	}

}
